function nodeStatus(node) {
    var temp = "";
    if(node!=null) {
        temp += "nodeName:" + node.nodeName + "\n";
    }
    else temp += "nodeName:null!\n";
    if(node.nodeType!=null) {
        temp += "nodeType:" + node.nodeType + "\n";
    }
    else temp += "nodeType:null!\n";
    if(node.nodeValue!=null) {
        temp += "nodeValue:" + node.nodeValue + "\n";
    }
    else temp += "nodeValue:null!\n";
    return temp;
}